import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './styles/index.scss'
// 注册svg-icons
import 'virtual:svg-icons-register'
// 导入svgIcon
import installElementPlus from './plugins/element'
import installFilter from './filters/index'
import Components from './components/index'
// 导入路由鉴权
import './permission'
import i18n from './i18n/index'
import installDirective from './directives/index'
const app = createApp(App)
installElementPlus(app)
installFilter(app)
installDirective(app)
app.use(router)
app.use(store)
app.use(i18n)
app.use(Components)
app.mount('#app')
